//package com.tianlan.blog.service;
//
//import javax.validation.Valid;
//
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//
//import com.tianlan.blog.dto.CreateUser;
//import com.tianlan.blog.dto.QueryUser;
//import com.tianlan.blog.dto.UpdateUser;
//import com.tianlan.blog.dto.UserInfo;
//import com.tianlan.common.base.PageResult;
//import com.tianlan.common.base.Result;
//import com.tianlan.common.page.MyPage;
//
//
//@FeignClient(value = "TIANLAN-PROVIDER")
//public interface SysUserClientService {
//	 
//	@GetMapping(value  = "/user/list",consumes="application/json")
//	PageResult<UserInfo> list(QueryUser user, MyPage<UserInfo> page);
//	
//	@PostMapping("/user/create")
//	public Result<?> create(@RequestBody @Valid CreateUser user);
//	
//	@PostMapping("/user/update")
//	public Result<?> update(@RequestBody UpdateUser user);
//	
//	@PostMapping("/user/delete/{userId}")
//	public Result<?> delete(@PathVariable("userId") Integer userId);
//	
//	@PostMapping(value = "/user/account/check")
//	public Result<Boolean> checkUserAccount(CreateUser user);
//	
//	@PostMapping(value = "/user/nickname/check")
//	public Result<Boolean> checkUserNickname(CreateUser user);
//	
//	@PostMapping(value = "/user/mobile/check")
//	public Result<Boolean> checkUserMobile(CreateUser user);
//	
//	@PostMapping(value = "/user/email/check")
//	public Result<Boolean> checkUserEmail(CreateUser user);
//}
